#include "help.h"
#include "ui_help.h"

Help::Help(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Help)
{
    ui->setupUi(this);
}

Help::Help(int language, QWidget *parent):
    QDialog(parent),
    ui(new Ui::Help)
{

    ui->setupUi(this);
        Init(language);
}
Help::~Help()
{
    delete ui;
}

void Help::Init(int language)
{
    if(0==language)
    {
        QString text;
        text.append(tr("名称TCL频道信息编辑工具\n版本：1\n说明：本版本仅仅限于对TCLMstar方案的机器使用,下一版本将加入MTK方案的机器"));
        ui->Help_Text->setText(text);
    }
    else
    {
        ui->Help_Text->setText("Name:TCL Channel Edit Tool\nVersion:1\nTips:This version just can be used with Mstar TV,The Next version will add MTK TV");
    }
}

